<script>
export default {
  name: "FilterIndex",
  data(){
    return {
      msg:'厉害'
    }
  },
  filters:{
    setMsg2(data,format){
      console.log(data)
      console.log(format)
    }
  }


}
</script>

<template>
<div>过滤器
<div>
{{msg |setMsg(666)|setMsg1(777)}}
  {{msg | setmsg2(888)}}
</div>
</div>
</template>

<style scoped lang="less">

</style>